Conversation
|
Build fails because I've set the |
|
@victorbjelkholm do you have a branch of these tests running on js-ipfs-api? |
src/dht.js
Outdated
| after((done) => { | ||
| common.teardown(done) | ||
| }) | ||
| xdescribe('.findpeer', () => {}) |
There was a problem hiding this comment.
typo: xdrescribe)
|
The tests need to be updated to follow the same pattern of the remaining tests in the interface-ipfs-core, the pattern is:
Remember that once these things get merged, then it becomes official docs for everyone that consumes these APIs, it is very important to be very careful. |
Yeah, over here: ipfs-inactive/js-ipfs-http-client#385
👍
👍
Hm, not so sure about this one. The promise API should be tested at one place, to make sure promisify is working correctly, but I don't think we need to test every single function in both the callback way and promise. Makes more sense to have a couple of tests to make sure that one way is working, then always stick with the other otherwise. |
|
having a test for each method (not all combinations, just a test for each method) has detected in the past missing 'promisify' wraps. |
|
@victorbjelkholm I believe you are still on top of this, correct? |
|
@diasdavid Yessir! |
|
@diasdavid tests are passing, should be ready to be merged so we can move on with ipfs-inactive/js-ipfs-http-client#385 |
|
awesome :D |
Works in js-ipfsThis will be left for milestone 6 of js-ipfs